/*
********************************************************************************
* Copyright (C) 2021, xiang.D <dx_65535@163.com>.
* All right reserved.
*
* File Name   : see_doctor.h
* Author      :
* Version     : V1.0
* Description :
* Journal     : 2021-01-23 init v1.0
* Brief       : Blog: https://blog.csdn.net/qq_38750572?spm=1001.2014.3001.5343
* Others      :
********************************************************************************
*/
#ifndef __SEE_DOCTOR_H__
#define __SEE_DOCTOR_H__

class CSeeDoctorTemplate
{
public:
    CSeeDoctorTemplate();

    ~CSeeDoctorTemplate();

    // 看病流程
    virtual void StartProcess() final;

    // 展示健康码
    virtual void ShowHealthCode();

    // 填写登记表
    virtual void FillTable() = 0;

    // 挂号
    virtual void Register() = 0;

    // 医生面诊
    virtual void SeeDoctor();

    // 付款
    virtual void Pay();

public:
    float mCost;
};

class CTreatStomach : public CSeeDoctorTemplate
{
public:
    CTreatStomach();

    ~CTreatStomach();

    void FillTable();

    void Register();

    void SeeDoctor();
};

class CTreatHeadache: public CSeeDoctorTemplate
{
public:
    CTreatHeadache();

    ~CTreatHeadache();

    void FillTable();

    void Register();

    void SeeDoctor();
};

#endif
